﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2023-03-19 19:33
    /// 描 述：骑行用户管理实体类
    /// </summary>
    [Table("customer_user")]
    public class CustomerUserEntity : BaseEntity
    {
        /// <summary>
        /// 昵称
        /// </summary>
        /// <returns></returns>
        public string nickname { get; set; }
        /// <summary>
        /// 微信用户openid
        /// </summary>
        /// <returns></returns>
        public string openid { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        /// <returns></returns>
        public string picture { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        /// <returns></returns>
        public string telephone { get; set; }
        /// <summary>
        /// 0 正常 1违规
        /// </summary>
        /// <returns></returns>
        public int? status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? create_time { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? modified_time { get; set; }
        /// <summary>
        /// 用户在开放平台的唯一标识符
        /// </summary>
        /// <returns></returns>
        public string unionid { get; set; }
    }
}
